<?php $__env->startSection('content'); ?>
<div class="container">


    <div class="row">
<table class="table">
  <thead class="thead-light">
    <tr>     
      <th scope="col">姓名</th>
      <th scope="col">状态</th>
      <th scope="col">地址</th>
      <th scope="col">ip</th>
      <th scope="col">手机号</th>
      <th scope="col">创建/更新</th>
    </tr>
  </thead>
  <tbody>
	<?php $__currentLoopData = $patients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $patient): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	<tr>
		<td><a href="<?php echo e(route('patient.edit',['patient'=>$patient->id])); ?>"><?php echo e($patient->name); ?></a></td>
		<td>
			<?php if($patient->status>0): ?>:
				<img src="http://vip.wxpfbyy120.com/gongyi/<?php echo e($patient->id); ?>.jpg" width="300"/> 
			<?php endif; ?>;
		</td>
		<td><?php echo e($patient->address); ?></td>
		<td><?php echo e($patient->ip); ?></td>
		<td><?php echo e($patient->phone); ?></td>
		<td><?php echo e($patient->created_at); ?><br/><?php echo e($patient->updated_at); ?></td>
	</tr>      
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>

    </div>

    <?php echo e($patients->links('vendor.pagination.bootstrap-4')); ?>


</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>